package com.reguang.common.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "farmland")
public class BasisConfig {
    //上传路径
    private String uploadPath;

    //小程序上传路径
    private String miniProgramUploadPath;

    //小程序图片路径
    private String imgPrefix;

    public String getImgPrefix() {
        return imgPrefix;
    }

    public void setImgPrefix(String imgPrefix) {
        this.imgPrefix = imgPrefix;
    }

    public String getMiniProgramUploadPath() {
        return miniProgramUploadPath;
    }

    public void setMiniProgramUploadPath(String miniProgramUploadPath) {
        this.miniProgramUploadPath = miniProgramUploadPath;
    }

    public String getUploadPath() {
        return uploadPath;
    }

    public void setUploadPath(String uploadPath) {
        this.uploadPath = uploadPath;
    }
}
